let defaultVoid = function(age: number, stature?:string):string {
  let yy = ''
  if(stature != undefined) {
    yy = `我要找一个${age}，${stature}的小姑娘`
    return yy
  }
  yy = `1.我要找一个${age}的小姑娘`
  return yy
}
console.log(defaultVoid(12))

let hasVoid = (age:number, stature:string = '大长腿') => {
  return `2.我要找一个${age}，${stature}的小姑娘` 
}

console.log(hasVoid(21))

let unknownNumVoid = (...age:string[]):string => {
  let yy:string = '3.找到了'
  for (let i=0;i<age.length;i++) {
    yy = yy + age[i]
    if(i<age.length) {
      yy + yy + ''
    }
  }
  return yy + '的姑娘'
}
console.log(unknownNumVoid('大长腿', '大奶胸', '白虎'))
